<?php

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
#	FILE:			includes/project.php
#	FUNCTION:		Variables for this project
#	AUTHOR:			Cameron Morrow
#	CREATED:		26/07/2005
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# Project Title
$PROJECT_TITLE = "Magnetic Resonance Technology";

# Project Code
$PROJECT_CODE = "ggw";

# Project URL
$PROJECT_URL = "http://localhost/projects/great_green_way/web/";

# Email
$PROJECT_EMAIL = "cameron@zone4.com.au";

# If on Zone4
if (strpos($_SERVER["SERVER_NAME"], "esvc000266.wic041u.server-web.com") !== false) {

	# Database
	$PROJECT_DB = "vs20043_1";

	# Host
	$PROJECT_DB_HOST = "wic001my.server-sql.com";

	# User
	$PROJECT_DB_USERNAME = "vs20043_1";

	# Password
	$PROJECT_DB_PASSWORD = "CdoF99ZL8Q";

} else if (strpos($_SERVER["SERVER_NAME"], "unknown.com.au") !== false) {

	# Database
	$PROJECT_DB = "vs45612_1";

	# Host
	$PROJECT_DB_HOST = "wic001my.server-sql.com";

	# User
	$PROJECT_DB_USERNAME = "vs45612_1";

	# Password
	$PROJECT_DB_PASSWORD = "K9G2kJq8cW";

} else {

	# Database
	$PROJECT_DB = "ggwdb";

	# Host
	$PROJECT_DB_HOST = "localhost";

	# User
	$PROJECT_DB_USERNAME = "phpuser";

	# Password
	$PROJECT_DB_PASSWORD = "";
}

# Tables
$PROJECT_DB_TABLES = array(
	"users" => "mrt_users",
	"pages" => "mrt_pages",
	"groups" => "mrt_groups",
	"newsletters" => "mrt_newsletters",
	"newsletter_groups" => "mrt_newsletter_groups",
	"table_properties" => "mrt_table_properties",
	"logs" => "mrt_logs"
);

# Email SMTP Host
$PROJECT_SMTP_HOST = "smtp-au.server-mail.com";

# Include version info
if (file_exists("../includes/version.php")) {
	include "../includes/version.php";
} else {
	include "../../includes/version.php";
}

# Message to send from admin when email address is changed
#$EMAIL_CHANGE_MESSAGE = "";

?>